//
//  ModelTrailer.m
//  Movie
//
//  Created by cjy on 16/3/28.
//  Copyright © 2016年 HY. All rights reserved.
//

#import "ModelTrailer.h"

@implementation ModelTrailer
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    if ([key isEqualToString:@"description"]) {
        
        self.descrip = value;
        
    }
    
    if ([key isEqualToString:@"id"]) {
        
        
        self.ida = value;
    }
    
    
    if ([key isEqualToString:@"duration"]) {
        
        self.duration = [value doubleValue];
        
    }
    
    
    
    
    
}
@end

